package com.wntms.wy.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/*CREATE TABLE `salesman_accept` (
        `fid` varchar(50) DEFAULT NULL,
        `cid` varchar(50) DEFAULT NULL,
        `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'said',
        `ispass` tinyint(1) DEFAULT NULL COMMENT '是否合格',
        `arrive_time` datetime DEFAULT NULL COMMENT '货物送达实际时间',
        PRIMARY KEY (`id`)
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='业务员验收表'*/
@Data
/*@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)*/
public class SalesmanAccept {
    private String fid;
    private String cid;
    private Integer id;
    private Boolean ispass;
    //@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    //@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    //@JsonFormat(pattern = "yyyy-MM-dd")
    private Date arrivetime;

    private Boolean istransit;
}
